From: Bilal Elmoussaoui Date: Sat, 1 Jan 2022 16:39:45 +0000 (+0100) Subject: gtk: add nullable annotations for Scrollable getters X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~61^2^2~134^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ddb2e91a42221e66af6eb608cde9345e1b540a69;p=gtk4.git gtk: add nullable annotations for Scrollable getters The adjustment setters takes a nullable and so should the getters be annotated --- diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c index 0d4a2d51af..041f09ac04 100644 --- a/gtk/gtkscrollable.c +++ b/gtk/gtkscrollable.c @@ -130,7 +130,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface) * * Retrieves the `GtkAdjustment` used for horizontal scrolling. * - * Returns: (transfer none): horizontal `GtkAdjustment`. + * Returns: (transfer none) (nullable): horizontal `GtkAdjustment`. */ GtkAdjustment * gtk_scrollable_get_hadjustment (GtkScrollable *scrollable) @@ -174,7 +174,7 @@ gtk_scrollable_set_hadjustment (GtkScrollable *scrollable, * * Retrieves the `GtkAdjustment` used for vertical scrolling. * - * Returns: (transfer none): vertical `GtkAdjustment`. + * Returns: (transfer none) (nullable): vertical `GtkAdjustment`. */ GtkAdjustment * gtk_scrollable_get_vadjustment (GtkScrollable *scrollable)